//单位首页
import unithomeleft from "./menu-content/unithome/leftunity/index.vue";
import unithomeright from "./menu-content/unithome/rightunity/index.vue";
//个体概览
import indvidualleft from "./menu-content/Individual-overview/Individualleft/index.vue";
import indvidualright from "./menu-content/Individual-overview/Individualright/index.vue";
//应用系统
import applicationleft from "./menu-content/application-system/applicationleft/index.vue";
import applicationright from "./menu-content/application-system/applicationright/index.vue";
//告警事件
import alarmleft from "./menu-content/alarm-events/alarmleft/index.vue";
import alarmright from "./menu-content/alarm-events/alarmright/index.vue";
//巡检任务
import Inspectionleft from "./menu-content/Inspection-tasks/Inspectionleft/index.vue";
import Inspectionright from "./menu-content/Inspection-tasks/Inspectionright/index.vue";
//工单任务
import workoderleft from "./menu-content/workoder-tasks/workoderleft/index.vue";
import workoderright from "./menu-content/workoder-tasks/workoderright/index.vue";
//设施巡检 facility-inspection
import facilityleft from "./menu-content/facility-inspection/facilityleft/index.vue";
import facilityright from "./menu-content/facility-inspection/facilityright/index.vue";
//项目主页
import projecthomeleft from "./menu-content/project-home/projecthomeleft/index.vue";
import projecthomeright from "./menu-content/project-home/projecthomeright/index.vue";

//监管大屏 
import superviseleft from "./menu-content/supervise/superviseleft/index.vue";
import superviseright from "./menu-content/supervise/superviseright/index.vue";

export const MenuEnum = {
  unit: {
    id: 1,
    menuName: "单位首页",
    componentleft: unithomeleft,
    componentright: unithomeright,
    menuTypemap:0,
    btnlist: [
      { name: "所有项目", id: 1 },
      { name: "告警项目", id: 2 }
    ]
  },
  indvidual: {
    id: 2,
    menuName: "个体概览",
    componentleft: indvidualleft,
    componentright: indvidualright,
    btnlist: [
      { name: "查看所有", id: 1 },
      { name: "只看告警", id: 2 }
    ]
  },
  application: {
    id: 3,
    menuName: "应用系统",
    componentleft: applicationleft,
    componentright: applicationright,
    systematicId:1,
    menuTypemap:0,
    btnlist: []
  },
  alarmevents: {
    id: 4,
    menuName: "告警事件",
    componentleft: alarmleft,
    componentright: alarmright,
    menuTypemap:1,
    btnlist: [
      { name: "所有项目", id: 1 },
      { name: "告警项目", id: 2 }
    ]
  },

  facility: {
    id: 5,
    menuName: "设施巡检",
    componentleft: facilityleft,
    componentright: facilityright,
    menuTypemap:2,
    btnlist: [
      { name: "所有项目", id: 1 },
      { name: "待巡检项目", id: 2 }
    ]
  },
  // inspection: {
  //   id: 6,
  //   menuName: "巡检任务",
  //   componentleft: Inspectionleft,
  //   componentright: Inspectionright
  // },
  workoder: {
    id: 6,
    menuName: "工单任务",
    componentleft: workoderleft,
    menuTypemap:3,
    componentright: workoderright,
    btnlist: [
      { name: "所有项目", id: 1 },
    { name: "工单项目", id: 2 }
    ]
  },
  projecthome: {
    id: 7,
    menuName: "项目主页",
    componentleft: projecthomeleft,
    componentright: projecthomeright,
    btnlist: [
      { name: "地图", id: 1 },
      { name: "平面图", id: 2 },
      { name: "组态", id: 3 },
      { name: "VR", id: 4 },
      { name: "三维", id: 5 },
    ]
  },
  applications: {
    id: 8,
    menuName: "某甲系统",
    componentleft: applicationleft,
    componentright: applicationright,
    btnlist: []
  }
};


export const superviseEnum ={
  id: 133,
  menuName: "监管大屏",
  componentleft: superviseleft,
  componentright: superviseright,
  btnlist: [
    { name: "全部", id: 0 },
    { name: "离线", id: 2 },
    { name: "故障", id: 3 },
    { name: "报警", id: 4 },
    ]
}

// const arr1 = {
//   1: [
//     { name: "所有项目", id: 1 },
//     { name: "告警项目", id: 2 }
//   ],
//   2: [
//     { name: "查看所有", id: 1 },
//     { name: "只看告警", id: 2 }
//   ],
//   3: [],
//   4: [
//     { name: "所有项目", id: 1 },
//     { name: "告警项目", id: 2 }
//   ],
//   5: [
//     { name: "所有项目", id: 1 },
//     { name: "待巡检项目", id: 2 }
//   ],
//   6: [
//     { name: "所有项目", id: 1 },
//     { name: "工单项目", id: 2 }
//   ],
//   7: [
//     { name: "地图", id: 1 },
//     { name: "平面图", id: 2 },
//     { name: "组态", id: 3 },
//     { name: "VR", id: 4 }
//   ]
// };
